package com.wjx.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

/**
 * 
 * @TableName deposits
 */
@TableName(value ="deposits")
public class Deposits implements Serializable {
    /**
     * 
     */
    @TableId(type = IdType.AUTO)
    private Integer depositid;

    /**
     * 
     */
    private Integer accountid;

    /**
     * 
     */
    private Date depositdate;

    /**
     * 
     */
    private BigDecimal amount;

    /**
     * 
     */
    private BigDecimal interestrate;

    @TableField(exist = false)
    private static final long serialVersionUID = 1L;

    /**
     * 
     */
    public Integer getDepositid() {
        return depositid;
    }

    /**
     * 
     */
    public void setDepositid(Integer depositid) {
        this.depositid = depositid;
    }

    /**
     * 
     */
    public Integer getAccountid() {
        return accountid;
    }

    /**
     * 
     */
    public void setAccountid(Integer accountid) {
        this.accountid = accountid;
    }

    /**
     * 
     */
    public Date getDepositdate() {
        return depositdate;
    }

    /**
     * 
     */
    public void setDepositdate(Date depositdate) {
        this.depositdate = depositdate;
    }

    /**
     *
     */
    public Integer getAmount() {
        return amount.intValue();
    }

    /**
     * 
     */
    public void setAmount(BigDecimal amount) {
        this.amount = amount;
    }

    /**
     * 
     */
    public BigDecimal getInterestrate() {
        return interestrate;
    }

    /**
     * 
     */
    public void setInterestrate(BigDecimal interestrate) {
        this.interestrate = interestrate;
    }
}